﻿#include<iostream>
#include<typeinfo>
using namespace std;
int main() {
	int a{ 500 };
	unsigned b{ 1000 };
	float c{ 2.23f };

	cout << "(a-b)=" << double(a - b) << endl;//C语言方式
	cout << "(a-b)=" << static_cast<double>(a - b) << endl;//C++语言方式

}